What I have to add to the following dxl code so that created filter will show ancestors.
*************************************************************
//Apply Custom Filter
/* This dxl is to be used to add custom filter button
*/
Module m = current
Filter f = attribute "Owner" == "Test"
set(m, f)
filtering on
// end of Apply Custom Filter.dxl
*************************************************************
I have tried to find an answer using dxl documentation but unfortunately could not find the working solution.
Thanks for help.
Tony
Tony_Aus - Sun Jan 17 16:04:56 EST 2010 |
|
Re: showing ancestors Tony_Aus - Sun Jan 17 16:11:06 EST 2010
Waiting for response I have found solution. The code is:
******************************************
//Apply Custom Filter
/* This dxl is to be used to add custom filter button
*/
Module m = current
Filter f = attribute "Owner - QR - 5020" == "T Caban"
set(m, f)
ancestors(true)
filtering on
// end of Apply Custom Filter.dxl
*****************************************
So, my problems is solved.
Tony
|
|
Re: showing ancestors Tony_Aus - Sun Jan 17 16:12:37 EST 2010
I have found solution. The dxl which does what I wanted is:
**************************************
//Apply Custom Filter
/* This dxl is to be used to add custom filter button
*/
Module m = current
Filter f = attribute "Owner" == "Test"
set(m, f)
ancestors(true)
filtering on
// end of Apply Custom Filter.dxl
**************************************
So, my problems is solved.
Tony
|
|
Re: showing ancestors llandale - Sun Jan 17 17:26:30 EST 2010 Tony_Aus - Sun Jan 17 16:11:06 EST 2010
Waiting for response I have found solution. The code is:
******************************************
//Apply Custom Filter
/* This dxl is to be used to add custom filter button
*/
Module m = current
Filter f = attribute "Owner - QR - 5020" == "T Caban"
set(m, f)
ancestors(true)
filtering on
// end of Apply Custom Filter.dxl
*****************************************
So, my problems is solved.
Tony
I may not recall correctly, but think that the Ancestors flag, and the other two 'advanced filter' flags, remain in the state set filter after filter; which means perhaps that when you turn it on now, it may stay on for the next filter, which doesn't want them. You might want to check that out.
|
|